{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "ename": "SyntaxError",
     "evalue": "EOF while scanning triple-quoted string literal (<ipython-input-1-673bc73e7ef4>, line 17)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  File \u001b[1;32m\"<ipython-input-1-673bc73e7ef4>\"\u001b[1;36m, line \u001b[1;32m17\u001b[0m\n\u001b[1;33m    python_str_text = \"\"\"\u001b[0m\n\u001b[1;37m                         ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m EOF while scanning triple-quoted string literal\n"
     ]
    }
   ],
   "source": [
    "# 注释的意义：\n",
    "# 1. 可以记录我们的代码过程意义（一般循环、条件判断、函数、对象、类都要有自己的描述，对变量作描述）\n",
    "# 2. 可以忽略一部分代码，跳过该部分执行的代码\n",
    "\n",
    "# A. 单行注释： #\n",
    "# B. 多行注释： ''' 注释内容 ''' \"\"\" 注释内容 \"\"\"\n",
    "# C. 多行注释可以当做  str  赋值给变量\n",
    "\n",
    "\"\"\"\n",
    "str的定义:\n",
    "Single quotes: 'allows embedded \"double\" quotes'\n",
    "Double quotes: \"allows embedded 'single' quotes\".\n",
    "Triple quoted: '''Three single quotes''', \\\"\"\"Three double quotes\\\"\"\"\n",
    "\"\"\"\n",
    "#  c. 通常可以打印时使用   或  在 python中存储其他语言的代码\n",
    "\n",
    "python_str_text = \"\"\"\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
